import request from '@/utils/request'

// 查询记录识别图列表
export function listRecordpic(query) {
  return request({
    url: '/wisdom/recordpic/list',
    method: 'get',
    params: query
  })
}

// 查询记录识别图详细
export function getRecordpic(id) {
  return request({
    url: '/wisdom/recordpic/' + id,
    method: 'get'
  })
}

// 新增记录识别图
export function addRecordpic(data) {
  return request({
    url: '/wisdom/recordpic',
    method: 'post',
    data: data
  })
}

// 修改记录识别图
export function updateRecordpic(data) {
  return request({
    url: '/wisdom/recordpic',
    method: 'put',
    data: data
  })
}

// 删除记录识别图
export function delRecordpic(id) {
  return request({
    url: '/wisdom/recordpic/' + id,
    method: 'delete'
  })
}
